package cn.gzjp.modules.gas.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.gas.entity.GasScore;
import cn.gzjp.modules.gas.dao.GasScoreDao;

/**
 * 积分Service
 * @author zengcp
 * @version 2018-03-12
 */
@Service
@Transactional(readOnly = true)
public class GasScoreService extends CrudService<GasScoreDao, GasScore> {

	public GasScore get(String id) {
		return super.get(id);
	}
	
	public List<GasScore> findList(GasScore gasScore) {
		return super.findList(gasScore);
	}
	
	public Page<GasScore> findPage(Page<GasScore> page, GasScore gasScore) {
		return super.findPage(page, gasScore);
	}
	
	@Transactional(readOnly = false)
	public void save(GasScore gasScore) {
		super.save(gasScore);
	}
	
	@Transactional(readOnly = false)
	public void delete(GasScore gasScore) {
		super.deleteByLogic(gasScore);
	}
	
}